/*
 * @Author       : mengqingxin
 * @Date         : 2020-12-06 12:54:38
 * @LastEditors  : mengqingxin
 * @LastEditTime : 2020-12-06 17:25:04
 */
import request from '../utils/request';
const baseUrl = getApp().globalData.baseUrl

// 文件上传
export function uploadFeeImg(data) {
  return request({
    url: `${baseUrl}/sys/attachment/upload`,
    method: 'post',
    data
  })
}

// 查询字典项
export function queryTree(data) {
  return request({
      url: `${baseUrl}/sys/dict/queryTree`,
      method: 'post',
      data
  })
}